//
//  YWSelectLocationTableViewController.h
//  maintain
//
//  Created by Kyo on 16/9/19.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YWFloor;
@class YWLocation;

@protocol YWSelectLocationTableViewControllerDelegate <NSObject>
- (void)popSelectedLocation:(YWLocation*)location;
@end
@interface YWSelectLocationTableViewController : UITableViewController
@property (nonatomic, weak) id<YWSelectLocationTableViewControllerDelegate> delegate;
//是否可以新建
@property (nonatomic, assign) BOOL canEdit;

@property (nonatomic, strong) YWFloor *floor;
@property (nonatomic, strong) YWLocation *ownLocation;

//巡查巡更过滤位置传参
@property (nonatomic, assign) NSInteger lineId;//线路id
@property (nonatomic, assign) BOOL isKeepWatch;//巡更还是巡查
@property (nonatomic, assign) BOOL isEquipmentLine;//设备巡查还是位置巡查

//检测保养任务过滤位置传参
@property (nonatomic, assign) NSInteger missionId;//任务id
@property (nonatomic, assign) NSInteger equipmentTypeId;//设备类型id
@end
